<?php # Icd_Code.php

require_once 'DBObject.php';

class Icd_Code extends DBObject {
	public $tablename = "icd_codes";
	
	public $id;
	public $code;
	public $name;
	
	
	public function get() {
		return array(
					'id' => $this->id,
					'code' => $this->code,
					'name' => $this->name
				);
	}
	
	public function validate() {
		return parent::validateObject($this->tablename);
	}
}